package com.gxa.weixing.portal.service;

import com.gxa.weixing.core.pojo.Address;
import com.gxa.weixing.core.service.BaseService;

/**
 * @Author HHT
 * 2022/1/11
 */
public interface AddressService extends BaseService<Address> {

    /**
     * 添加地址
     * @param address
     */
    void adds(Address address);

    /**
     * 修改默认地址，默认地址数据库只能有一条
     * @param address
     */
    void updates(Address address);

}
